package etc.spec.ytt.week8.home.D1t;

public class Circle {
    private double radius;

    public double getRadius(){
        return radius;
    }

    public void setRadius(double radius) {
        this.radius = radius;
    }

    public Circle(double r){
        this.radius=r;
   }
   public double getArea(double r){
        return 3.14*r*r;
   }
   public double getperimerter(double r){
        return 2*3.14*r;
   }
    public void show(){
        System.out.println("area:"+getArea()+"radius:"+getRadius()+"perimerter:"+getperimerter());

    }
}
